![]() |
MPGetNextCpuID |
||||
Header: | MultiprocessingInfo.h | Carbon status: | Supported | |
Obtains the next CPU ID in the list of physical processors of the specified memory coherence group.
OSStatus MPGetNextCpuID ( MPCoherenceID owningCoherenceID, MPCpuID *cpuID );
The ID of the memory coherence group whose physical processor IDs you want to obtain. Pass kMPInvalidIDErr, as only one coherence group, internal RAM, is currently defined.
On return, cpuID points to the ID of the next physical processor.
A result code.
By iterating on this function (after calling MPProcessors, for example), you can obtain the IDs of all the processors available on the host computer. Generally you would only use this function in diagnostic programs.
Introduced with Multiprocessing Services 2.1.
Supported in Carbon. Not available in Carbon.
© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)